package com.chanta.client;

import com.chanta.client.i18n.I18NConstants;
import com.chanta.client.i18n.I18NMessages;
import com.chanta.client.widgets.UserSignUp;
import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * 
 * TODO Please comment this class..
 * 
 * @author Hakan Özdemir - Vendoo Inc.
 * @date 25.10.2013
 * 
 */
public class ChantaWeb implements EntryPoint {

	private I18NConstants i18nConstants = GWT.create(I18NConstants.class);
	private I18NMessages i18nMessages = GWT.create(I18NMessages.class);

	/**
	 * This is the entry point method.
	 */
	public void onModuleLoad() {
		RootPanel.get("greetings").add(new Label(i18nMessages.greetings()));
		RootPanel.get("mainContent").add(new UserSignUp());
		RootPanel.get("footerContent").add(new Label(i18nConstants.country()));
	}
}
